package com.pro.back.dao;

import com.pro.back.bean.Duser;
import com.pro.back.bean.DuserExample;
import java.util.List;

import com.pro.back.bean.bo.CountBO;
import com.pro.back.bean.bo.UserBO;
import com.pro.back.bean.po.UserPO;
import org.apache.ibatis.annotations.Param;

public interface DuserMapper {
    long countByExample(DuserExample example);

    int deleteByExample(DuserExample example);

    int deleteByPrimaryKey(Long id);

    int insert(Duser record);

    int insertSelective(Duser record);

    List<Duser> selectByExample(DuserExample example);

    Duser selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") Duser record, @Param("example") DuserExample example);

    int updateByExample(@Param("record") Duser record, @Param("example") DuserExample example);

    int updateByPrimaryKeySelective(Duser record);

    int updateByPrimaryKey(Duser record);

    UserBO selectUserInfo(Long id);

    List<UserBO> selectAllUser(UserPO po);

    List<CountBO> selectUserCount();
}